const parseParams = (params) => {
  let querys = [],
    value
  for (const key in params) {
    value = params[key]
    querys = `${key}=${value}`
  }
  return '?' + querys.join('&')
}

module.exports = {
  parseParams
}